package com.cr.admin.business.user.service;

import com.cr.admin.business.user.pojo.entity.User;
import com.cr.admin.business.user.pojo.param.UserAddParam;
import com.cr.admin.business.user.pojo.param.UserLoginParam;
import com.cr.admin.business.user.pojo.param.UserUpdateParam;
import com.cr.admin.business.user.pojo.query.UserQuery;
import com.cr.admin.business.user.pojo.vo.UserVO;
import com.cr.common.response.JsonResult;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface UserService {

        List<UserVO> selectUser(UserQuery userQuery);

        void saveUser(UserAddParam userAddParam);

        void resetPassword(Long userId);

        void deleteUser(Long userId);

        void updateStatus(Long userId, String status);

        void updateById(UserUpdateParam userUpdateParam);

}
